<div class="nav">
   <a class="sel" href="{:U('index')}">在线客服列表</a>
   <a href="{:U('add')}">添加在线客服</a>
</div>
<div class="list">
<table class="table_list">
  <thead><tr>
    <td>类型</td>
    <td>客服名称</td>
    <td>客服号码</td>
    <td>顺序编号</td>
    <td>是否显示</td>
    <td>操作</td>
  </tr>
  </thead>
  <tbody>
  <foreach name="list" item="list">
    <tr>
    <td>{$list.type}</td>
    <td>{$list.title}</td>
    <td>{$list.number}</td>
    <td class="edit_input" attr_t="order_id" attr_id="{$list.id}">{$list.order_id}</td>
    <td class="edit_toggle" attr_t="is_show" attr_id="{$list.id}">{$list.is_show}</td>
    <td><a class="btn_a" href="{:U('edit',Array('id'=>$list['id']))}">修改</a>&nbsp;<a class="btn_a2" href="{:U('del',Array('id'=>$list['id']))}" onclick="return confirm('确定删除吗？')">删除</a></td>
  </tr>
  </foreach>
  </tbody>
  <tfoot>
    <tr><td colspan="6"><div class="page">{$page}</div></td></tr>
  </tfoot>
</table>
</div>
